Enable synthesized GPS fixes for tracks. Without we get a lot of empty NMEA track...
authoroliskoli <oliskoli>
Tue, 27 Mar 2007 19:40:50 +0000 (19:40 +0000)
committeroliskoli <oliskoli>
Tue, 27 Mar 2007 19:40:50 +0000 (19:40 +0000)
test-all

index 3740b01072764f94d8575df563fc744971d479b6..c08a52df1c2356cc8940c0f1d050cb6e7737e302 100755 (executable)
--- a/test-all
+++ b/test-all
@@ -6,6 +6,7 @@ PNAME=${PNAME:-./gpsbabel}
 REFGPX="reference/expertgps.gpx"       # reference file for all tests
 EXCL="ozi vitosmt"                     # exclude formats from test
 CAPS=""
+# TEMPDIR=/dev/shm/gb-test-all
 TEMPDIR=/tmp/gb-test-all
 CATALOG=/tmp/gb-test-all.done
 LOGFILE=/tmp/gb-test-all.log
@@ -135,12 +136,12 @@ function STAGE_0 ()
        esac
        case ${caps:2:2} in
            rw)
-               CMD="${PNAME} -t -i gpx -f $REFGPX -x nuketypes,waypoints,routes -o $format -F $TEMPDIR/t-$format"
+               CMD="${PNAME} -t -i gpx -f $REFGPX -x nuketypes,waypoints,routes -x track,fix=2D -o $format -F $TEMPDIR/t-$format"
                try_run "${CMD}" || continue
                STAGE_1 "t" $format || exit 1
                ;;
            -w)
-               CMD="${PNAME} -t -i gpx -f $REFGPX -x nuketypes,waypoints,routes -o $format -F $TEMPDIR/t-$format"
+               CMD="${PNAME} -t -i gpx -f $REFGPX -x nuketypes,waypoints,routes -x track,fix=2D -o $format -F $TEMPDIR/t-$format"
                try_run "${CMD}" || continue
                ;;
        esac